<div>
    <AntDesign.InputNumber Step="0.1" Min="-1" Max="5" @bind-Value="myValue" />
</div>

@code{
    private double myValue { get; set; }
}